<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:pe="http://primefaces.org/ui/extensions">

<f:view contentType="text/html">
	<h:head>
		<f:facet name="first">
			<meta content='text/html; charset=UTF-8' http-equiv="Content-Type" />
			<title>#{text.applicationTitle}</title>
		</f:facet>
		<link type="text/css" rel="stylesheet"
			href="#{request.contextPath}/resources/css/default.css" />
		<script src="#{request.contextPath}/resources/js/global.js"></script>
		<script src="#{request.contextPath}/resources/js/print.js"></script>
		<script src="#{request.contextPath}/resources/js/prime-ui-0.9-min.js"></script>
	</h:head>
	<h:body>
		<!--<pe:ajaxErrorHandler title="#{text['applicationTitle']}" body="#{text['message.exception']}" button="#{text['label.emailExceptionBtn']}"/> -->

		<pe:layout options="#{homeLayout.layoutOptions}">
			<pe:layoutPane position="north" styleClassContent="header">
				<ui:include src="/pages/snippets/menuBar.xhtml" />
            </pe:layoutPane>

            <pe:layoutPane id="center" position="center" styleClassContent="noborder">
                <ui:insert name="content" />
            </pe:layoutPane>

            <pe:layoutPane id="south" position="south" styleClassContent="noborder">
                <ui:include src="/pages/snippets/bottomBar.xhtml" />
            </pe:layoutPane>
		</pe:layout>
	</h:body>
</f:view>
</html>